#ifndef INGREDIENT_H_
#define INGREDIENT_H_

#include <iostream>
using namespace std;


struct Ingredient {
public:
	// constructors
	Ingredient();
	
	Ingredient (int i, int r, float a, string u, string n) {		//FPW, A1
		ingredient_id = i;											//FPW, A1
		recipe_id = r;												//FPW, A1
		amt = a;													//FPW, A1
		units = u;													//FPW, A1
		name = n;													//FPW, A1
	}
	
   // utility functions
	string display() const;
	void displaym() const { //FPW, A1
		cout << ingredient_id << " " << recipe_id << " " << amt << " " << units << " " << name << endl; //FPW, A1
	}
	
private:
   //constants  

   // private data
	int ingredient_id;
	int recipe_id;
	float amt;
	string units;
	string name;
};


#endif //INGREDIENT_H_